package net.hn.hnms.biz.api.plan;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(url = "http://10.103.9.31/PDDP/PDDPAPI",name = "planService" )
public interface RemotePlanService {

    @GetMapping("/GetSaleStatsticData?date={date}")
    String getSaleStatsticData(@PathVariable("date") String date);


    @GetMapping("/GetProductionData?date={date}")
    String getProductionData(@PathVariable("date") String date);
}
